tools/xenstore: add read watch state for live update
authorJuergen Gross <jgross@suse.com>
Wed, 13 Jan 2021 13:00:20 +0000 (14:00 +0100)
committerJuergen Gross <jgross@suse.com>
Thu, 21 Jan 2021 16:31:50 +0000 (17:31 +0100)
commitc6fde653593cc6d21511819213e3cf7516f7cdcd
tree315b3a20173db42716649f9a739b50de2c498105
parent34ceff030e482efcd261cca7a7f9b15213345cb4
tools/xenstore: add read watch state for live update

Add reading the watch state records for live update.

This requires factoring out some of the add watch functionality into a
dedicated function.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Paul Durrant <paul@xen.org>
Acked-by: Wei Liu <wl@xen.org>
tools/xenstore/xenstored_control.c
tools/xenstore/xenstored_watch.c
tools/xenstore/xenstored_watch.h